package com.baizhi.travels.service;

import com.baizhi.travels.entity.User;

/**
 * Description:travels
 * Created by admin  on 2020/5/19  17:23
 */
public interface UserService {
    /**
     * 注册用户
     * @param user
     */
    void register(User user);

    /**
     * 用户登录
     * @param user
     * @return
     */
    User login(User user);
}
